package com.scut.statistics_website.service;

import com.scut.statistics_website.util.RedisUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class FixedTimeInfoService {
    @Autowired
    private RedisUtil redisUtil;

    public Integer getSupplierNum(){
        return (Integer)redisUtil.get("supplier_num");
    }
}
